package org.example.bean;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Auther:Liu
 * @Testname:User
 * @Date:2025/8/5 10:56
 */
@Data
@NoArgsConstructor
public class User implements Serializable {
    @TableId
    private String id;

    private String username;
    private String password;

    private String email;
    private String phone;
    private String address;
    private String status;
    @TableLogic(delval = "1", value = "0")
    private String isDeleted;
    private String createTime;
    @TableField(fill = FieldFill.UPDATE)
    private String updateTime;
    @TableField(exist = false)
    private List<Role> roles;
    @TableField(exist = false)
    private List<Power> powers;
}
